// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import 'lib-flexible'
import 'normalize.css'
import '@/styles/index.scss'

import Scroll from '@/components/scroll'
import Headers from '@/components/common/Headers'
Vue.component('headers', Headers);
Vue.component('scroll',Scroll);
import  { ToastPlugin } from 'vux'
Vue.use(ToastPlugin)
import  { ConfirmPlugin } from 'vux'
Vue.use(ConfirmPlugin)
Vue.config.productionTip = false
Vue.use(scroll);
Vue.prototype.imgUrlService = 'https://img.mibaostore.cn/';
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
})
